// 配置状态机

import { createStore } from "vuex";
import count from "./count.js";
import goods from "./goods.js";
import category from "./category";
import collapse from "./collapse.js";
import user from "./user.js";
const store = createStore({
  modules: {
    counter: count, //键名是模块的名字、键值是模块的对象
    goods,
    category,
    collapse,
    user,
  },
});

export default store;
